package com.yunhe.marketing.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.yunhe.common.util.StringUtil;
import com.yunhe.marketing.constant.EnterpriseConsts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Objects;

/**
 * @Author: DongWenYu
 * @Date: 2021/2/23 9:57
 */
@ApiModel(value = "EnterpriseUpload", description = "对应Excel的实体类")
public class EnterpriseUpload extends BaseRowModel {
    @ApiModelProperty(value = "企业ID")
    @Id
    @ExcelIgnore
    private Long id;
    @ExcelProperty(value = "公司名称", index = 0)
    private String enterpriseName;
    @ExcelProperty(value = "经营状态", index = 1)
    private String operationStatusTitle;
    @ExcelProperty(value = "行业", index = 2)
    private String industryCategoryTitle;
    @ExcelProperty(value = "法定代表人", index = 3)
    private String legalRepresentative;
    @ExcelProperty(value = "联系人", index = 4)
    private String contacts;
    @ExcelProperty(value = "电话", index = 5)
    private String contactNumber;
    @ExcelProperty(value = "其他电话", index = 6)
    private String otherNumber;
    @ExcelProperty(value = "注册资本", index = 7)
    private String registeredCapital;
    @ExcelProperty(value = "实缴资本", index = 8)
    private String paidInCapital;
    @ExcelProperty(value = "成立日期", index = 9)
    private String establishDate;
    @ExcelProperty(value = "所属省份", index = 10)
    private String provinceTitle;
    @ExcelProperty(value = "所属城市", index = 11)
    private String cityTitle;
    @ExcelProperty(value = "所属区县", index = 12)
    private String districtTitle;
    @ExcelProperty(value = "参保人数", index = 13)
    private String numberOfInsured;
    @ExcelProperty(value = "公司规模", index = 14)
    private String enterpriseScale;
    @ExcelProperty(value = "公司类型", index = 15)
    private String enterpriseTypeTitle;
    @ExcelProperty(value = "年营业额", index = 16)
    private String annualTurnover;
    @ExcelProperty(value = "营业执照号", index = 17)
    private String license;
    @ExcelProperty(value = "注册地址", index = 18)
    private String registerAddress;
    @ExcelProperty(value = "邮箱", index = 19)
    private String email;
    @ExcelProperty(value = "其他邮箱", index = 20)
    private String otherEmail;
    @ExcelProperty(value = "经营范围", index = 21)
    private String businessNature;
    @ExcelProperty(value = "高新技术企业", index = 22)
    private String highTechEnterpriseTitle;
    @ExcelProperty(value = "是否有自研团队", index = 23)
    private String selfResearchTeamTitle;
    @ExcelProperty(value = "独角兽企业", index = 24)
    private String unicornEnterpriseTitle;
    @ExcelProperty(value = "中国500强", index = 25)
    private String chinaTop500Title;
    @ExcelProperty(value = "世界500强", index = 26)
    private String worldTop500Title;
    @ExcelProperty(value = "小微企业", index = 27)
    private String microEnterpriseTitle;
    @ExcelProperty(value = "有无年报", index = 28)
    private String annualReportTitle;
    @ExcelProperty(value = "有无工商变更", index = 29)
    private String businessModifyTitle;
    @ExcelProperty(value = "有无分支机构", index = 30)
    private String branchTitle;
    @ExcelProperty(value = "招聘信息", index = 31)
    private String recruitmentInformationTitle;
    @ExcelProperty(value = "网址信息", index = 32)
    private String websiteInformationTitle;
    @ExcelProperty(value = "网址", index = 33)
    private String website;
    @ExcelProperty(value = "专利类型", index = 34)
    private String patentTypeTitle;
    @ExcelProperty(value = "资质证书", index = 35)
    private String qualificationCertificateTitle;
    @ExcelProperty(value = "意向", index = 36)
    private String intentionTitle;
    @ExcelProperty(value = "意向区域", index = 37)
    private String intentionArea;
    @ExcelProperty(value = "意向园区", index = 38)
    private String intentionPark;
    @ExcelProperty(value = "功能用途", index = 39)
    private String purposeTitle;
    @ExcelProperty(value = "面积需求", index = 40)
    private String areaRequirement;
    @ExcelProperty(value = "层高", index = 41)
    private String floorHeight;
    @ExcelProperty(value = "承重", index = 42)
    private String bearing;
    @ExcelProperty(value = "用电量", index = 43)
    private String electricityConsumption;
    @ExcelProperty(value = "配套需求", index = 44)
    private String matchingRequirementTitle;
    @ExcelProperty(value = "其他备注", index = 45)
    private String other;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getOperationStatusTitle() {
        return operationStatusTitle;
    }

    public void setOperationStatusTitle(String operationStatusTitle) {
        this.operationStatusTitle = operationStatusTitle;
    }

    public String getIndustryCategoryTitle() {
        return industryCategoryTitle;
    }

    public void setIndustryCategoryTitle(String industryCategoryTitle) {
        this.industryCategoryTitle = industryCategoryTitle;
    }

    public String getLegalRepresentative() {
        return legalRepresentative;
    }

    public void setLegalRepresentative(String legalRepresentative) {
        this.legalRepresentative = legalRepresentative;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getOtherNumber() {
        return otherNumber;
    }

    public void setOtherNumber(String otherNumber) {
        this.otherNumber = otherNumber;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public String getPaidInCapital() {
        return paidInCapital;
    }

    public void setPaidInCapital(String paidInCapital) {
        this.paidInCapital = paidInCapital;
    }

    public String getEstablishDate() {
        return establishDate;
    }

    public void setEstablishDate(String establishDate) {
        this.establishDate = establishDate;
    }

    public String getProvinceTitle() {
        return provinceTitle;
    }

    public void setProvinceTitle(String provinceTitle) {
        this.provinceTitle = provinceTitle;
    }

    public String getCityTitle() {
        return cityTitle;
    }

    public void setCityTitle(String cityTitle) {
        this.cityTitle = cityTitle;
    }

    public String getDistrictTitle() {
        return districtTitle;
    }

    public void setDistrictTitle(String districtTitle) {
        this.districtTitle = districtTitle;
    }

    public String getNumberOfInsured() {
        return numberOfInsured;
    }

    public void setNumberOfInsured(String numberOfInsured) {
        this.numberOfInsured = numberOfInsured;
    }

    public String getEnterpriseScale() {
        return enterpriseScale;
    }

    public void setEnterpriseScale(String enterpriseScale) {
        this.enterpriseScale = enterpriseScale;
    }

    public String getEnterpriseTypeTitle() {
        return enterpriseTypeTitle;
    }

    public void setEnterpriseTypeTitle(String enterpriseTypeTitle) {
        this.enterpriseTypeTitle = enterpriseTypeTitle;
    }

    public String getAnnualTurnover() {
        return annualTurnover;
    }

    public void setAnnualTurnover(String annualTurnover) {
        this.annualTurnover = annualTurnover;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getRegisterAddress() {
        return registerAddress;
    }

    public void setRegisterAddress(String registerAddress) {
        this.registerAddress = registerAddress;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOtherEmail() {
        return otherEmail;
    }

    public void setOtherEmail(String otherEmail) {
        this.otherEmail = otherEmail;
    }

    public String getBusinessNature() {
        return businessNature;
    }

    public void setBusinessNature(String businessNature) {
        this.businessNature = businessNature;
    }

    public String getHighTechEnterpriseTitle() {
        return highTechEnterpriseTitle;
    }

    public void setHighTechEnterpriseTitle(String highTechEnterpriseTitle) {
        this.highTechEnterpriseTitle = highTechEnterpriseTitle;
    }

    public String getSelfResearchTeamTitle() {
        return selfResearchTeamTitle;
    }

    public void setSelfResearchTeamTitle(String selfResearchTeamTitle) {
        this.selfResearchTeamTitle = selfResearchTeamTitle;
    }

    public String getUnicornEnterpriseTitle() {
        return unicornEnterpriseTitle;
    }

    public void setUnicornEnterpriseTitle(String unicornEnterpriseTitle) {
        this.unicornEnterpriseTitle = unicornEnterpriseTitle;
    }

    public String getChinaTop500Title() {
        return chinaTop500Title;
    }

    public void setChinaTop500Title(String chinaTop500Title) {
        this.chinaTop500Title = chinaTop500Title;
    }

    public String getWorldTop500Title() {
        return worldTop500Title;
    }

    public void setWorldTop500Title(String worldTop500Title) {
        this.worldTop500Title = worldTop500Title;
    }

    public String getMicroEnterpriseTitle() {
        return microEnterpriseTitle;
    }

    public void setMicroEnterpriseTitle(String microEnterpriseTitle) {
        this.microEnterpriseTitle = microEnterpriseTitle;
    }

    public String getAnnualReportTitle() {
        return annualReportTitle;
    }

    public void setAnnualReportTitle(String annualReportTitle) {
        this.annualReportTitle = annualReportTitle;
    }

    public String getBusinessModifyTitle() {
        return businessModifyTitle;
    }

    public void setBusinessModifyTitle(String businessModifyTitle) {
        this.businessModifyTitle = businessModifyTitle;
    }

    public String getBranchTitle() {
        return branchTitle;
    }

    public void setBranchTitle(String branchTitle) {
        this.branchTitle = branchTitle;
    }

    public String getRecruitmentInformationTitle() {
        return recruitmentInformationTitle;
    }

    public void setRecruitmentInformationTitle(String recruitmentInformationTitle) {
        this.recruitmentInformationTitle = recruitmentInformationTitle;
    }

    public String getWebsiteInformationTitle() {
        return websiteInformationTitle;
    }

    public void setWebsiteInformationTitle(String websiteInformationTitle) {
        this.websiteInformationTitle = websiteInformationTitle;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getPatentTypeTitle() {
        return patentTypeTitle;
    }

    public void setPatentTypeTitle(String patentTypeTitle) {
        this.patentTypeTitle = patentTypeTitle;
    }

    public String getQualificationCertificateTitle() {
        return qualificationCertificateTitle;
    }

    public void setQualificationCertificateTitle(String qualificationCertificateTitle) {
        this.qualificationCertificateTitle = qualificationCertificateTitle;
    }

    public String getIntentionTitle() {
        return intentionTitle;
    }

    public void setIntentionTitle(String intentionTitle) {
        this.intentionTitle = intentionTitle;
    }

    public String getIntentionArea() {
        return intentionArea;
    }

    public void setIntentionArea(String intentionArea) {
        this.intentionArea = intentionArea;
    }

    public String getIntentionPark() {
        return intentionPark;
    }

    public void setIntentionPark(String intentionPark) {
        this.intentionPark = intentionPark;
    }

    public String getPurposeTitle() {
        return purposeTitle;
    }

    public void setPurposeTitle(String purposeTitle) {
        this.purposeTitle = purposeTitle;
    }

    public String getAreaRequirement() {
        return areaRequirement;
    }

    public void setAreaRequirement(String areaRequirement) {
        this.areaRequirement = areaRequirement;
    }

    public String getFloorHeight() {
        return floorHeight;
    }

    public void setFloorHeight(String floorHeight) {
        this.floorHeight = floorHeight;
    }

    public String getBearing() {
        return bearing;
    }

    public void setBearing(String bearing) {
        this.bearing = bearing;
    }

    public String getElectricityConsumption() {
        return electricityConsumption;
    }

    public void setElectricityConsumption(String electricityConsumption) {
        this.electricityConsumption = electricityConsumption;
    }

    public String getMatchingRequirementTitle() {
        return matchingRequirementTitle;
    }

    public void setMatchingRequirementTitle(String matchingRequirementTitle) {
        this.matchingRequirementTitle = matchingRequirementTitle;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        EnterpriseUpload that = (EnterpriseUpload) o;
        return Objects.equals(license, that.license);
    }

    @Override
    public int hashCode() {
        return Objects.hash(license);
    }

}
